import {request} from '@/common/js/request.js'

// 获取病虫害知识库  分页
export function getPestsList(data) {
	return request({
		url: '/app-api/pests/library/page',
		method: 'get',
		data: data
	})
}

// 获取病虫害知识库  通过id获取单个
export function getPestsOne(data) {
	return request({
		url: '/app-api/pests/library/get',
		method: 'get',
		data: data
	})
}